# -*- coding: UTF-8 -*-
'''
Created on 2011-1-27

@author: sumory
'''
def scope1_f1():
    print global_v
    global_v.append('local')
    print global_v

global_v = ['global']
scope1_f1()
print global_v

def scope1_f2():
    print global_v2
    global_v2 = 'local'
    print global_v2

global_v2 = 'global'
scope1_f2()
print global_v2